/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.zcm.modules.bzy.entity;

import org.hibernate.validator.constraints.Length;

import com.zcm.common.persistence.DataEntity;

/**
 * 龙虎榜Entity
 * @author www
 * @version 2018-10-29
 */
public class BzyLhb extends DataEntity<BzyLhb> {
	
	private static final long serialVersionUID = 1L;
	private String stockCode;		// 股票代码
	private String stockName;		// 股票名称
	private String netBuy;		// 净买额(万)
	private String buyTotal;		// 买入额（万）
	private String sellTotal;		// 卖出额（万）
	private String transaction;		// 龙虎榜成交额（万）
	private String totalTransaction;		// 市场成交额（万）
	private String netBuyPercent;		// 净买额占总成交比
	private String transactionPercent;		// 成交额占总成交比
	private String turnoverRate;		// 换手率
	private String marketValue;		// 流通市值（亿）
	private String listReason;		// 上榜原因
	private String time;		// 上榜时间
	private String reason;		// 解读
	private String department;		// 营业部名称
	private String buy;		// 营业部买入金额（万）
	private String buyPercent;		// 营业部买入占比
	private String sell;		// 营业部卖出额
	private String sellPercent;		// 营业部卖出占比
	private String deptNetBuy;		// 营业部净买额（万）
	private String seq;		// 排序
	private String type;		// 买入卖出
	
	public BzyLhb() {
		super();
	}

	public BzyLhb(String id){
		super(id);
	}

	@Length(min=1, max=20, message="股票代码长度必须介于 1 和 20 之间")
	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}
	
	@Length(min=1, max=20, message="股票名称长度必须介于 1 和 20 之间")
	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
	
	public String getNetBuy() {
		return netBuy;
	}

	public void setNetBuy(String netBuy) {
		this.netBuy = netBuy;
	}
	
	public String getBuyTotal() {
		return buyTotal;
	}

	public void setBuyTotal(String buyTotal) {
		this.buyTotal = buyTotal;
	}
	
	public String getSellTotal() {
		return sellTotal;
	}

	public void setSellTotal(String sellTotal) {
		this.sellTotal = sellTotal;
	}
	
	@Length(min=0, max=10, message="龙虎榜成交额（万）长度必须介于 0 和 10 之间")
	public String getTransaction() {
		return transaction;
	}

	public void setTransaction(String transaction) {
		this.transaction = transaction;
	}
	
	@Length(min=0, max=10, message="市场成交额（万）长度必须介于 0 和 10 之间")
	public String getTotalTransaction() {
		return totalTransaction;
	}

	public void setTotalTransaction(String totalTransaction) {
		this.totalTransaction = totalTransaction;
	}
	
	@Length(min=0, max=10, message="净买额占总成交比长度必须介于 0 和 10 之间")
	public String getNetBuyPercent() {
		return netBuyPercent;
	}

	public void setNetBuyPercent(String netBuyPercent) {
		this.netBuyPercent = netBuyPercent;
	}
	
	@Length(min=0, max=10, message="成交额占总成交比长度必须介于 0 和 10 之间")
	public String getTransactionPercent() {
		return transactionPercent;
	}

	public void setTransactionPercent(String transactionPercent) {
		this.transactionPercent = transactionPercent;
	}
	
	@Length(min=0, max=10, message="换手率长度必须介于 0 和 10 之间")
	public String getTurnoverRate() {
		return turnoverRate;
	}

	public void setTurnoverRate(String turnoverRate) {
		this.turnoverRate = turnoverRate;
	}
	
	@Length(min=0, max=10, message="流通市值（亿）长度必须介于 0 和 10 之间")
	public String getMarketValue() {
		return marketValue;
	}

	public void setMarketValue(String marketValue) {
		this.marketValue = marketValue;
	}
	
	@Length(min=0, max=400, message="上榜原因长度必须介于 0 和 400 之间")
	public String getListReason() {
		return listReason;
	}

	public void setListReason(String listReason) {
		this.listReason = listReason;
	}
	
	@Length(min=1, max=20, message="上榜时间长度必须介于 1 和 20 之间")
	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	@Length(min=0, max=400, message="解读长度必须介于 0 和 400 之间")
	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	
	@Length(min=0, max=400, message="营业部名称长度必须介于 0 和 400 之间")
	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}
	
	public String getBuy() {
		return buy;
	}

	public void setBuy(String buy) {
		this.buy = buy;
	}
	
	@Length(min=0, max=10, message="营业部买入占比长度必须介于 0 和 10 之间")
	public String getBuyPercent() {
		return buyPercent;
	}

	public void setBuyPercent(String buyPercent) {
		this.buyPercent = buyPercent;
	}
	
	public String getSell() {
		return sell;
	}

	public void setSell(String sell) {
		this.sell = sell;
	}
	
	@Length(min=0, max=10, message="营业部卖出占比长度必须介于 0 和 10 之间")
	public String getSellPercent() {
		return sellPercent;
	}

	public void setSellPercent(String sellPercent) {
		this.sellPercent = sellPercent;
	}
	
	public String getDeptNetBuy() {
		return deptNetBuy;
	}

	public void setDeptNetBuy(String deptNetBuy) {
		this.deptNetBuy = deptNetBuy;
	}
	
	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}
	
	@Length(min=0, max=20, message="买入卖出长度必须介于 0 和 20 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}